import type { ComponentDefinitionItem } from './type'
import { createComponent } from './component-meta'

export function matchComponentMeta(element: ComponentDefinitionItem) {
  return createComponent(element.code!)
}
